/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Durable Medical Equipment And Or Medical Supply Supplier HIPAA</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S13835 (C-0-T13129-A13715-A13833-S13835-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getDurableMedicalEquipmentAndOrMedicalSupplySupplierHIPAA()
 * @model extendedMetaData="name='DurableMedicalEquipmentAndOrMedicalSupplySupplierHIPAA'"
 * @generated
 */
public enum DurableMedicalEquipmentAndOrMedicalSupplySupplierHIPAA implements Enumerator {
	/**
	 * The '<em><b>332B00000N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_332B00000N_VALUE
	 * @generated
	 * @ordered
	 */
	_332B00000N(0, "_332B00000N", "332B00000N"),

	/**
	 * The '<em><b>332BC3200N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_332BC3200N_VALUE
	 * @generated
	 * @ordered
	 */
	_332BC3200N(1, "_332BC3200N", "332BC3200N"),

	/**
	 * The '<em><b>332BD1200N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_332BD1200N_VALUE
	 * @generated
	 * @ordered
	 */
	_332BD1200N(2, "_332BD1200N", "332BD1200N"),

	/**
	 * The '<em><b>332BN1400N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_332BN1400N_VALUE
	 * @generated
	 * @ordered
	 */
	_332BN1400N(3, "_332BN1400N", "332BN1400N"),

	/**
	 * The '<em><b>332BX2000N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_332BX2000N_VALUE
	 * @generated
	 * @ordered
	 */
	_332BX2000N(4, "_332BX2000N", "332BX2000N"),

	/**
	 * The '<em><b>332BP3500N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_332BP3500N_VALUE
	 * @generated
	 * @ordered
	 */
	_332BP3500N(5, "_332BP3500N", "332BP3500N");

	/**
	 * The '<em><b>332B00000N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>332B00000N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_332B00000N
	 * @model literal="332B00000N"
	 * @generated
	 * @ordered
	 */
	public static final int _332B00000N_VALUE = 0;

	/**
	 * The '<em><b>332BC3200N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>332BC3200N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_332BC3200N
	 * @model literal="332BC3200N"
	 * @generated
	 * @ordered
	 */
	public static final int _332BC3200N_VALUE = 1;

	/**
	 * The '<em><b>332BD1200N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>332BD1200N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_332BD1200N
	 * @model literal="332BD1200N"
	 * @generated
	 * @ordered
	 */
	public static final int _332BD1200N_VALUE = 2;

	/**
	 * The '<em><b>332BN1400N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>332BN1400N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_332BN1400N
	 * @model literal="332BN1400N"
	 * @generated
	 * @ordered
	 */
	public static final int _332BN1400N_VALUE = 3;

	/**
	 * The '<em><b>332BX2000N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>332BX2000N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_332BX2000N
	 * @model literal="332BX2000N"
	 * @generated
	 * @ordered
	 */
	public static final int _332BX2000N_VALUE = 4;

	/**
	 * The '<em><b>332BP3500N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>332BP3500N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_332BP3500N
	 * @model literal="332BP3500N"
	 * @generated
	 * @ordered
	 */
	public static final int _332BP3500N_VALUE = 5;

	/**
	 * An array of all the '<em><b>Durable Medical Equipment And Or Medical Supply Supplier HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final DurableMedicalEquipmentAndOrMedicalSupplySupplierHIPAA[] VALUES_ARRAY =
		new DurableMedicalEquipmentAndOrMedicalSupplySupplierHIPAA[] {
			_332B00000N,
			_332BC3200N,
			_332BD1200N,
			_332BN1400N,
			_332BX2000N,
			_332BP3500N,
		};

	/**
	 * A public read-only list of all the '<em><b>Durable Medical Equipment And Or Medical Supply Supplier HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<DurableMedicalEquipmentAndOrMedicalSupplySupplierHIPAA> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Durable Medical Equipment And Or Medical Supply Supplier HIPAA</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static DurableMedicalEquipmentAndOrMedicalSupplySupplierHIPAA get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			DurableMedicalEquipmentAndOrMedicalSupplySupplierHIPAA result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Durable Medical Equipment And Or Medical Supply Supplier HIPAA</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static DurableMedicalEquipmentAndOrMedicalSupplySupplierHIPAA getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			DurableMedicalEquipmentAndOrMedicalSupplySupplierHIPAA result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Durable Medical Equipment And Or Medical Supply Supplier HIPAA</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static DurableMedicalEquipmentAndOrMedicalSupplySupplierHIPAA get(int value) {
		switch (value) {
			case _332B00000N_VALUE: return _332B00000N;
			case _332BC3200N_VALUE: return _332BC3200N;
			case _332BD1200N_VALUE: return _332BD1200N;
			case _332BN1400N_VALUE: return _332BN1400N;
			case _332BX2000N_VALUE: return _332BX2000N;
			case _332BP3500N_VALUE: return _332BP3500N;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private DurableMedicalEquipmentAndOrMedicalSupplySupplierHIPAA(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //DurableMedicalEquipmentAndOrMedicalSupplySupplierHIPAA
